﻿using System;
using ESRI.ArcGIS.Geodatabase;
namespace Tayninh2011
{
    interface ITnToolsWorkspace
    {
        //string _mdbTempFolder;
        IWorkspace CreateWorkspaceGdbFile(string path, string name, string type);
        IWorkspaceEdit CreateWorkspaceSDE(string server, string instance, string authentication_mode, string database, string version, string user, string password);

        IFeatureClass OpenFeatureClassFromFileMdb(string path, string name);
        IFeatureClass OpenFeatureClassFromSDE(IWorkspaceEdit workspace,string featureClass);
        bool CheckLayerExist(string[,] user_info, string layer_name);
    }
}
